home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / program / 316 / libsrc / tchars.c < prev    next >
Encoding:
C/C++ Source or Header  |  1988-10-20  |  771 b   |  30 lines

  1. /*
  2.  *        Cross Development System for Atari ST 
  3.  *     Copyright (c) 1988, Memorial University of Newfoundland
  4.  *
  5.  *  These to keep track of the current special characters and tty mode.
  6.  *
  7.  * $Header: tchars.c,v 1.1 88/02/03 22:58:46 m68k Exp $
  8.  *
  9.  * $Log:    tchars.c,v $
  10.  * Revision 1.1  88/02/03  22:58:46  m68k
  11.  * Initial revision
  12.  * 
  13.  */
  14. #include    <ioctl.h>
  15. #include    "tchars.h"
  16.  
  17. int    __ttymode = CRMOD|ECHO|XTABS;
  18. char    __tchars[10] = {
  19.             010,        /* TC_ERASE - ^H */
  20.             025,        /* TC_KILL - ^U */
  21.             003,        /* TC_INTRC - ^C */
  22.             034,        /* TC_QUITC - ^\ */
  23.             032,        /* TC_EOFC - ^Z */
  24.             TC_UNDEF,    /* TC_BRKC - undefined */
  25.             022,        /* TC_RPRNTC - ^R */
  26.             027,        /* TC_WREASC - ^W */
  27.             026,        /* TC_LNEXTC - ^V */
  28.             0177        /* TC_RUBOUT - RUB */
  29.         };
  30.